const { list } = require('./src/mock')
module.exports = {
  devServer: {
    before(app){
      app.get('/api/list', (req, res) => {
        res.send({
          code: 200,
          data: list
        })
      })
    }
  }
}